<template>
    <div class="common-card">
        <div class="common-card-header y-center">
            <span class="common-card-header-dot" />
            <span>{{ title }}</span>
        </div>
        <slot />
    </div>
</template>

<script>
export default {
    name: 'CommonCard',
    props: {
        title: {
            type: String,
            default: ''
        }
    }
}
</script>

<style lang="scss" scoped>
.common-card {
    border-bottom: 5px solid #000;
    .common-card-header {
        height: 30px;
        padding: 0 12px;
        font-weight: bold;
        font-size: 18px;
        color: #9E9E9E;
        border-bottom: 1px solid #000;

        .common-card-header-dot {
            width: 14px;
            height: 14px;
            background: #424242;
            border-radius: 100%;
        }
    }
}
</style>